<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>注册界面</title>
    <link rel="stylesheet" href="{{ static_url('css/reset.css') }}"/>
    <link rel="stylesheet" href="{{ static_url('css/common.css')}}"/>
    <link rel="stylesheet" href="{{ static_url('css/font-awesome.min.css')}}"/>
</head>
<body>
<div class="wrap login_wrap">
    <div class="content">

        <div class="logo"></div>

        <div class="login_box">

            <div class="login_form">
                {% if error %}
                {{error}}
                {% end %}
                <div class="login_title">
                    注册
                </div>
                <form action="/register" method="post">

                    <div class="form_text_ipt">
                        <input name="username" type="text" placeholder="用户名">
                    </div>
                    <div class="ececk_warning"><span>用户名不能为空</span></div>
                    <div class="form_text_ipt">
                        <input type="email" name="email" placeholder="邮箱">
                    </div>
                    <div class="ececk_warning"><span>邮箱不能为空</span></div>
                    <div class="form_text_ipt">
                        <input name="passwd" type="password" placeholder="密码">
                    </div>
                    <div class="ececk_warning"><span>密码不能为空</span></div>
                    <div class="form_text_ipt">
                        <input name="repassword" type="password" placeholder="重复密码">
                    </div>
                    <div class="ececk_warning"><span>密码不能为空</span></div>
                    <!--<div class="form_text_ipt">-->
                        <!--<input name="code" type="text" placeholder="验证码">-->
                    <!--</div>-->
                    <!--<div class="ececk_warning"><span>验证码不能为空</span></div>-->

                    <div class="form_btn">
                        <button type="submit" class="register-button">注册</button>
                    </div>
                    <div class="form_reg_btn">
                        <span>已有帐号？</span><a href="index.html">马上登录</a>
                    </div>
                </form>
                <div class="other_login">
                    <div class="left other_left">
                        <span>其它登录方式</span>
                    </div>
                    <div class="right other_right">
                        <a href="#"><i class="fa fa-qq fa-2x"></i></a>
                        <a href="#"><i class="fa fa-weixin fa-2x"></i></a>
                        <a href="#"><i class="fa fa-weibo fa-2x"></i></a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript" src="{{ static_url('js/jquery.min.js') }}"></script>
<script type="text/javascript" src="{{ static_url('js/common.js') }}"></script>
</body>
</html>
